Java How to remove last character from string

welcome to shbcf.ru